package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Goods;
import cn.wolfcode.car.business.query.GoodsQuery;

import java.util.List;

public interface GoodsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Goods record);

    Goods selectByPrimaryKey(Long id);

    List<Goods> selectAll();

    int updateByPrimaryKey(Goods record);

    List<Goods> selectForList(GoodsQuery qo);

    Integer queryAmounts(Long foodsId);
}